package models

import (
	"time"
)

// ID ID主键
type ID struct {
	ID uint `json:"id" gorm:"primaryKey"`
}

// Timestamps 创建、更新时间
type Timestamps struct {
	CreateTm time.Time `json:"create_tm" gorm:"comment:创建时间"`
	UpdateTm time.Time `json:"update_tm" gorm:"comment:更新时间"`
}

// IsDelete 软删除
type IsDelete struct {
	IsDelete bool `json:"is_delete" gorm:"comment:是否删除 0否 1是"`
}
